#include <stdio.h>

double trans_F_C(double F);
double trans_C_F(double C);

int main() 
{
	double F = 27;
	double F_C_result;
	double C = 100;
	double C_F_result;
	
	F_C_result = trans_F_C(F);
	C_F_result = trans_C_F(C);
	
	printf("F2C:%lf\nC2F:%lf\n",F_C_result, C_F_result);
	
	return 0;
}

double trans_F_C(double F)
{
	double result = (F - 32) / 1.8;
	return result;
}

double trans_C_F(double C)
{
	double result = 32 + C * 1.8;
	return result;
}
